<!--
描述：查询分类管理列表
开发人：jiangbiao
开发日期：2019/06/22
-->

<template lang="pug">
  keep-alive
    kalix-table(bizKey="inquiretype" title='查询分类列表' ref="kalixTable"
    v-bind:tableFields="tableFields"
    v-bind:targetURL="inquiretypeURL"
    v-bind:bizDialog="inquiretypeDialog"
    v-bind:btnList="inquiretypeBtnList"
    v-bind:toolbarBtnList="toolbarBtnList"
    bizSearch="inquiretypeSearch")
</template>

<script type="text/ecmascript-6">
  import {InquireTypeURL} from '../../config.toml'
  import {inquiretypeConfigBtnList} from './config'
  import KalixTable from '../../../../../components/corelib/components/common/baseTable'
  export default {
    name: 'kalix-mooc-inquiretype',
    components: {KalixTable},
    data() {
      return {
        inquiretypeURL: InquireTypeURL,
        tableFields: [
          {prop: 'name', label: '查询分类名称'}
        ],
        inquiretypeDialog: [
          {id: 'add', dialog: 'inquiretypeAdd'},
          {id: 'edit', dialog: 'inquiretypeEdit'},
          {id: 'view', dialog: 'inquiretypeView'}
        ],
        inquiretypeBtnList: inquiretypeConfigBtnList,
        toolbarBtnList: [
          {id: 'add', isShow: true, title: '添加', icon: 'icon-pinleizengjia', isPermission: true}
        ]
      }
    }
  }
</script>

<style scoped lang="stylus">

</style>
